<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>文字随页面滚动渐入效果</title>
        <link rel="stylesheet" href="style.css" />
    </head>
    <body>
        <div class="animation-container">
            <div class="animation-viewport">
                <h1 class="text-fade">天行健，君子以自强不息。</h1>
            </div>
        </div>
        <script src="main.js"></script>
    </body>
</html>
